#!/usr/bin/env python

from django.http import HttpResponse

text = """<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <site-control permitted-cross-domain-policies="all"/>
  <allow-access-from domain="*" to-ports="*"/>
  <allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>"""

def index(request):
    return HttpResponse(text)